package org.example.dev.pojo;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
// 图片生成列表
@TableName("imageedits")
public class ImageEdits {

    private String editId;

    private String generationId; //采用UUID生成唯一标识

    private String editDescription;

    private String editedImageUrl;

    //统一时间格式
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime editTime;

}
